package vanScheduling;

import java.util.ArrayList;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean
@SessionScoped
public class Driver {

	private String name;
	private String email;
	private String phoneNumber;
	private ArrayList<TimeSlot> timeSlots;

        public Driver(){}

	public Driver(String name, String email, String phoneNumber, ArrayList<TimeSlot> timeSlots)
	{
		this.name = name;
		this.email = email;
		this.phoneNumber = phoneNumber;
		this.timeSlots = timeSlots;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

}
